package com.ruoyi.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.redis.RedisCache;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.domain.entity.*;
import com.ruoyi.project.domain.query.ProjectFeeQuery;
import com.ruoyi.project.domain.query.ProjectPromissoryQuery;
import com.ruoyi.project.mapper.ProjectFeeMapper;
import com.ruoyi.project.mapper.ProjectPromissoryMapper;
import com.ruoyi.project.service.*;
import com.ruoyi.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.*;
import java.util.stream.Collectors;


@Service
public class ProjectPromissoryServiceImpl extends ServiceImpl<ProjectPromissoryMapper, ProjectPromissory> implements IProjectPromissoryService {


    @Resource
    private ProjectPromissoryMapper projectPromissoryMapper;

    @Override
    public List<ProjectPromissory> getRevokeList(ProjectPromissoryQuery query) {
        List<ProjectPromissory> list = projectPromissoryMapper.getRevokeList(query);
        return list;
    }
}
